import React, {Component} from 'react'
import store from './store'

class App extends Component {
  render() {
    console.log(store)
    console.log(store.getState())
    let { title } = store.getState()
    return (
      <div>
        <h1 style={{color: 'skyblue', textAlign: 'center'}}>{title}</h1>
      </div>
    )
  }
}

export default App